//
//  CommentVC.h
//  Echo
//
//  Created by Cospring on 14/12/17.
//  Copyright (c) 2014年 sina. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CommentVCScrollToTopDelegate <NSObject>

- (void) scrollToTop;

@end

@interface CommentVC : UIViewController <UITableViewDataSource, UITableViewDelegate, UITextFieldDelegate, UIScrollViewDelegate>

@property (weak, nonatomic) IBOutlet UITableView *commentTableView;
@property (weak, nonatomic) IBOutlet UIView *commentBoxView;
@property (weak, nonatomic) IBOutlet UITextField *commentTextField;


- (IBAction)postComment:(id)sender;


@property (strong, nonatomic) NSString *mid;
@property (strong, nonatomic) NSArray *commentList;

@property (strong, nonatomic) id<CommentVCScrollToTopDelegate> commentVCDelegate;

@end




